package com.fhz.kotlinmvvm.utils

import androidx.room.Database
import androidx.room.RoomDatabase
import com.fhz.kotlinmvvm.dao.GoodsDao
import com.fhz.kotlinmvvm.entity.Goods

/**
 * 时间:2023/9/15
 * @author Mr.Feng
 * 简述:
 */
@Database(entities = [Goods::class], version = 1)
abstract class AppDatabase : RoomDatabase() {
    abstract fun goodsDao(): GoodsDao
}